package com.site.war.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.site.common.annotation.Excel;
import com.site.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 人脸识别记录对象 site_face_record
 *
 * @author site
 * @date 2023-10-13
 */
public class SiteFaceRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 人员id */
    @Excel(name = "人员id")
    private Long personId;

    /** 人员姓名 */
    @Excel(name = "人员姓名")
    private String personName;

    /** 人员岗位 */
    @Excel(name = "人员岗位")
    private String personJob;

    /** 人脸识别时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "人脸识别时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date faceTime;

    //设备编号
    private String towerCraneNumber;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPersonId(Long personId)
    {
        this.personId = personId;
    }

    public Long getPersonId()
    {
        return personId;
    }
    public void setPersonName(String personName)
    {
        this.personName = personName;
    }

    public String getPersonName()
    {
        return personName;
    }
    public void setPersonJob(String personJob)
    {
        this.personJob = personJob;
    }

    public String getPersonJob()
    {
        return personJob;
    }
    public void setFaceTime(Date faceTime)
    {
        this.faceTime = faceTime;
    }

    public String getTowerCraneNumber() {
        return towerCraneNumber;
    }

    public void setTowerCraneNumber(String towerCraneNumber) {
        this.towerCraneNumber = towerCraneNumber;
    }

    public Date getFaceTime()
    {
        return faceTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("personId", getPersonId())
            .append("personName", getPersonName())
            .append("personJob", getPersonJob())
            .append("createTime", getCreateTime())
            .append("towerCraneNumber", getTowerCraneNumber())
            .append("faceTime", getFaceTime())
            .append("remark", getRemark())
            .toString();
    }
}
